Index

Get job balance

Path: api/v1/accounts/debtors/jobbalance/{jobno}

Method:GET

Summary:Returns original amount, balance due and currency code of job

Description:Note: if the job has been invoiced, the response will include the invoice number but not a balance due.

Response content:

{
Job number
"jobNo":integer
Invoice number if the job has been invoiced
optional
"invNo":integer
The job total amount
"amount":number
The balance due amount for the job (job total minus prepayments for the job) unless the job has been invoiced
optional
"balanceDue":number
The currency code of job unless the job has been invoiced
optional
"currencyCode":string
}

Example GET

Response:

{
    "invNo": 1,
    "amount": 10.0000,
    "balanceDue": 10.0000,
    "currencyCode": "EUR"
}